// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information.

// Ported from https://github.com/llvm/llvm-project/tree/llvmorg-20.1.2/clang/tools/libclang
// Original source is Copyright (c) the LLVM Project and Contributors. Licensed under the Apache License v2.0 with LLVM Exceptions. See NOTICE.txt in the project root for license information.

#include "CIndexDiagnostic.h"

namespace clang {
    CXDiagnosticSetImpl::~CXDiagnosticSetImpl() {
    }

    void CXDiagnosticSetImpl::appendDiagnostic(std::unique_ptr<CXDiagnosticImpl> D) {
        Diagnostics.push_back(std::move(D));
    }

    CXDiagnosticImpl::~CXDiagnosticImpl() { }
}
